package com.znow.admin.dao.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.znow.admin.dao.entity.sys.SysUserEntity;
import org.springframework.stereotype.Repository;

/**
 * 系统用户映射器
 *
 * @author Nemo
 * @date 2022/09/29
 */
@Repository
public interface SysUserMapper extends BaseMapper<SysUserEntity> {

    /**
     * 查询用户名
     *
     * @param username 用户名
     * @return {@link SysUserEntity}
     */
    SysUserEntity selectByUsername(String username);
}
